package com.example.mvpdemo.util;

/**
 * @author:created by njb
 * 时间:2019/3/8 14 44
 * 描述:
 */
public class Constants {
    //public static final String BASE_SERVER_URL = "https://www.wanandroid.com";
    //public static final String BASE_SERVER_URL = "http://test-ch.haylou.com/";
    public static final String BASE_SERVER_URL = "https://qapi-moss.cp47.ott.cibntv.net/";
    public static final String UPLOAD_LOG_URL = "api/v1/zero/user/feedback/uploadLog";
    public static final int REQUEST_CODE_PICK_PHOTO = 300;

    public static final String NETWORK_ERROR = "网络连接失败,请检查网络";
    public static final String NETWORK_TIMEOUT = "网络请求超时,请稍后重试";
    public static final String DATA_JSON_ERROR = "数据解析失败";
    public static final String REQUEST_ERROR = "请求失败,请稍后重试";

    /**
     * Unknown network class
     */
    public static final int NETWORK_CLASS_UNKNOWN = 0;

    /**
     * wifi net work
     */
    public static final int NETWORK_WIFI = 1;

    /**
     * "2G" networks
     */
    public static final int NETWORK_CLASS_2_G = 2;

    /**
     * "3G" networks
     */
    public static final int NETWORK_CLASS_3_G = 3;

    /**
     * "4G" networks
     */
    public static final int NETWORK_CLASS_4_G = 4;
}
